import request from '@/utils/request'

// 资源管理
export function getRolesList(data) {
  return request({
    url: '/system/wuye/res/query',
    method: 'post',
    params: data
  })
}
export function del(data) {
  return request({
    url: '/system/wuye/res/delete',
    method: 'post',
    params: data
  })
}

export function addRole(data) {
  return request({
    url: '/system/wuye/res/addsave',
    method: 'post',
    params: data
  })
}
